<%@page import="org.jeecgframework.web.util.StaticValue"%>
<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>设备模型验证规则</title>
<t:base type="jquery,easyui,tools,DatePicker"></t:base>
<script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
<script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
	<script type="text/javascript">
	//编写自定义JS代码
	</script>
</head>
<body>
<t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="zyEmValidaRuleController.do?doUpdate" tiptype="1">
	<input id="id" name="id" type="hidden" value="${zyEmValidaRulePage.id }">
	<table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
		<tr>
			<td align="right">
				<label class="Validform_label">
					设备机型:
				</label>
			</td>
			<td class="value">
				<input name="equipmentTypeId" type="hidden" id="equipmentTypeId" value="${zyEmValidaRulePage.equipmentTypeId}"/>
				<input class="inputxt" id="equipmentTypeName" value="${zyEquType.typeDesc }" readonly="readonly" datatype="*" />
				<t:choose hiddenName="equipmentTypeId" hiddenid="id" url="zyEmValidaRuleController.do?goChooseEquipmentType" name="zyEquipmentTypeList" 
					icon="icon-search" title="工程师" inputTextname="equipmentTypeName" textname="text"  isclear="true" width="400px" height="500px"></t:choose>
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">设备机型</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">
					维护项目:
				</label>
			</td>
			<td class="value">
				<t:dictSelect field="maintainProject" typeGroupCode="<%=StaticValue.DIC_MAINTAIN_PROJECT %>" type="select" defaultVal="${zyEmValidaRulePage.maintainProject}" />
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">维护项目</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">
					最大值:
				</label>
			</td>
			<td class="value">
				<input id="max" name="max" type="text" style="width: 150px" class="inputxt" value="${zyEmValidaRulePage.max}" /><!-- datatype="/^(-?\d+)(\.\d+)?$/"  -->
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">最大值</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">
					最小值:
				</label>
			</td>
			<td class="value">
				<input id="min" name="min" type="text" style="width: 150px" class="inputxt" value="${zyEmValidaRulePage.min}" /><!-- datatype="/^(-?\d+)(\.\d+)?$/"  -->
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">最小值</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">
					计数单位:
				</label>
			</td>
			<td class="value">
				<input id="unit" name="unit" type="text" style="width: 150px" class="inputxt" value="${zyEmValidaRulePage.unit}" datatype="*" />
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">计数单位</label>
			</td>
		</tr>
	</table>
</t:formvalid>
</body>
<script src = "webpage/com/zybk/zy_em_valida_rule/zyEmValidaRule.js"></script>		